package com.maimao.info.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maimao.model.info.IntegralAction;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author MaoLin Wang
 * @date 2021/1/21 4:29 下午
 */
@Repository
public interface IntegralActionMapper extends BaseMapper<IntegralAction> {
    int insertBatch(@Param("integralActionList") List<IntegralAction> integralActionList);

    List<IntegralAction> selectByUserId(@Param("userId") Long userId);
}
